/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ems.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.ems.entity.EmsMajor;
import com.thinkgem.jeesite.modules.ems.dao.EmsMajorDao;

/**
 * 专业Service
 * @author zad
 * @version 2018-01-25
 */
@Service
@Transactional(readOnly = true)
public class EmsMajorService extends CrudService<EmsMajorDao, EmsMajor> {

	public EmsMajor get(String id) {
		return super.get(id);
	}
	
	public List<EmsMajor> findList(EmsMajor emsMajor) {
		return super.findList(emsMajor);
	}
	
	public Page<EmsMajor> findPage(Page<EmsMajor> page, EmsMajor emsMajor) {
		return super.findPage(page, emsMajor);
	}
	
	@Transactional(readOnly = false)
	public void save(EmsMajor emsMajor) {
		super.save(emsMajor);
	}
	
	@Transactional(readOnly = false)
	public void delete(EmsMajor emsMajor) {
		super.delete(emsMajor);
	}
	
}